// @ts-nocheck
import React from 'react';
import { ApplyPluginsType } from '/Users/guowenjun/privateWorkspace/blogAndUtil/node_modules/_@umijs_runtime@3.4.22@@umijs/runtime';
import * as umiExports from './umiExports';
import { plugin } from './plugin';

export function getRoutes() {
  const routes = [
  {
    "path": "/",
    "component": require('@/layouts/index.tsx').default,
    "routes": [
      {
        "path": "/blog",
        "exact": true,
        "component": require('@/pages/blog.tsx').default
      },
      {
        "path": "/",
        "exact": true,
        "component": require('@/pages/index.tsx').default
      },
      {
        "path": "/paper/qianying",
        "exact": true,
        "component": require('@/pages/paper/qianying.tsx').default
      },
      {
        "path": "/paper",
        "exact": true,
        "component": require('@/pages/paper.tsx').default
      },
      {
        "path": "/three/learn",
        "exact": true,
        "component": require('@/pages/three/learn.tsx').default
      },
      {
        "path": "/tools/ mocklist",
        "exact": true,
        "component": require('@/pages/tools/ mocklist.tsx').default
      },
      {
        "path": "/tools/batchQrCode",
        "exact": true,
        "component": require('@/pages/tools/batchQrCode.tsx').default
      },
      {
        "path": "/tools/mddata",
        "exact": true,
        "component": require('@/pages/tools/mddata.tsx').default
      },
      {
        "path": "/tools/personalData",
        "exact": true,
        "component": require('@/pages/tools/personalData.tsx').default
      },
      {
        "path": "/tools/xinsenlin",
        "exact": true,
        "component": require('@/pages/tools/xinsenlin.tsx').default
      },
      {
        "path": "/tools",
        "exact": true,
        "component": require('@/pages/tools.tsx').default
      }
    ]
  }
];

  // allow user to extend routes
  plugin.applyPlugins({
    key: 'patchRoutes',
    type: ApplyPluginsType.event,
    args: { routes },
  });

  return routes;
}
